package com.gugee.ins.common.dal.service.statistics;

import com.baomidou.mybatisplus.extension.service.IService;
import com.gugee.ins.common.model.mysql.statistics.InsStBloggerFlBrandCategory;

import java.util.List;

/**
 * InsStBloggerFlBrandCategoryDao
 * @author Huangxin
 */
public interface InsStBloggerFlBrandCategoryDao extends IService<InsStBloggerFlBrandCategory> {
    /**
     * 删除活跃粉丝品牌博主的分类占比
     * @param uid
     * @return
     */
    void deleteByUid(long uid);


    /**
     * 获取活跃粉丝品牌博主的分类占比
     * @param uid
     * @param limit
     * @return
     */
    List<InsStBloggerFlBrandCategory> findActiveFollowerBrandCategoryRateByUid(long uid, int limit);

    /**
     * 获取活跃粉丝品牌博主的分类占比
     * @param uid
     * @param limit
     * @return
     */
    List<InsStBloggerFlBrandCategory> findActiveFollowerCategoryRateByUid(long uid, int limit);
}
